import service from '@/utils/request'

type pageType = {
  pageIndex?: number
  pageSize?: number
}

export function userList(params?: pageType) {
  return service({
    url: '/user/list',
    method: 'get',
    params
  })
}
